ExtGames.UnoHangoutUtil = function(config) {
	
	ExtGames.UnoHangoutUtil.superclass.constructor.call(this, config);

};

Ext.extend(ExtGames.UnoHangoutUtil, ExtGames.HangoutUtil, {
	
	goFirst: function() {
		
		var pack = new ExtGames.Pack({
			decks: NUM_DECKS
		});
		
		this.initialSetup(pack);
	},
	
	submitUno: function() {
		var o = {
			id: this.getMyId()
		};
		
		var delta = {};
		delta['uno'] = JSON.stringify(o);
		gapi.hangout.data.submitDelta(delta);
	},
	
	stateUpdated: function (stateEvent) {
		//var adds = stateEvent.addedKeys;
		
		ExtGames.UnoHangoutUtil.superclass.stateUpdated.call(this, stateEvent);
	}
	
	
});




